Compute the cos function from the source and return the result.
Internally calls Matrix.Cos
Cos Method